//package example.demo.mideng;
//
//import lombok.extern.slf4j.Slf4j;
//import org.aopalliance.intercept.MethodInterceptor;
//import org.aopalliance.intercept.MethodInvocation;
//import org.springframework.data.redis.core.StringRedisTemplate;
//
///**
// * 拦截逻辑
// */
//@Slf4j
//public class MiDengBeforeInterceptor implements MethodInterceptor {
//    private StringRedisTemplate stringRedisTemplate;
//
//    public MiDengBeforeInterceptor(StringRedisTemplate stringRedisTemplate) {
//        this.stringRedisTemplate = stringRedisTemplate;
//    }
//
//    @Override
//    public Object invoke(MethodInvocation invocation) throws Throwable {
//        log.info("幂等前置======幂等前置");
//        return invocation.proceed();
//    }
//}
